package com.xhu.collegestudentrentalsystem.util.constant;

import javax.mail.internet.InternetAddress;

/**
 * @author zhu huilin
 * @date 2023/3/30 13:13
 *  状态常量相关工具类
 */
public class StatusMsg {

    /**
     * 房屋状态值
     */
    public static interface houseStatus{
        public Integer UN_RENT = 0;
        public Integer HAS_RENT = 1;
        public Integer HAS_DOWN = -1;
        public Integer WAIT_PASS = -2;
        public Integer UN_PASS = -3;
        public Integer OWNER_DELETE = -4;
    }

    /**
     * 订单状态值
     */
    public static interface orderStatus{
        public Integer CUSTOMER_CANCEL = -3;
        public Integer WAIT_SIGN = -2;
        public Integer WAIT_PAY = -1;
        public Integer RENTING = 0;
        public Integer HAS_EXPIRED = 1;
        public Integer HAS_DRAWBACK = 2;
        public Integer APPLY_DRAWBACK = 3;
        public Integer DRAWBACK_FAIL = 4;
    }

    /**
     * 反馈状态值
     */
    public static interface feedbackStatus{
        public Integer WAIT_DEAL = 0;
        public Integer HAS_DEAL = 1;
    }

    /**
     * 用户状态值
     */
    public static interface userStatus{
        public Integer NORMAL = 1;
        public Integer LOCK = 0;
    }

    /**
     * 帖子状态值
     */
    public static interface postStatus{
        public Integer NORMAL = 0;
        public Integer CREAM = 1;
        public Integer BLOCK = 2;
    }

    /**
     * 评论状态值
     */
    public static interface commentStatus{
        public Integer NORMAL = 0;
        public Integer DELETED = 1;
    }

    /**
     * 点赞状态值
     */
    public static interface likeStatus{
        public Integer LIKE = 1;
        public Integer UNLIKE = 0;
    }

}
